﻿package com.woniu51.gitdemo.controller;

import com.woniu51.gitdemo.entity.Student;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 杨光
 * @date 2022年02月12日 15:14
add a ccomentssssss
ffffffffffff
 ddddddd
 */
@RestController
public class StudentController {

    @GetMapping("/api/student")
    public Student query(){
        Student student = new Student();
        student.setId(1);
        student.setName("zhangsan");
        return student;
    }
}
